<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
		 var o=new Object();
		 o.age=22;
		 o.name="或照耀";
		 o.showSelf=function(){
			 alert(this.name+","+this.age);
		 }
		 o.toString=function(){
			 return "他叫"+this.name+",今年"+this.age+"岁";
		 }
		 //console.log(o);
		 alert(o);
		 
		</script>
	</head>
	<body>
	</body>
</html>
